﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace RecordBeRun
{
    public class TxtFileHelper
    {
        public static void WriteRecord(string docRelativeUrl,string txtContent)
        {
            //FileStream fs = new FileStream(docRelativeUrl, FileMode.OpenOrCreate);
            StreamWriter tw = File.AppendText(docRelativeUrl);
            tw.WriteLine(txtContent);
            tw.Flush();
            tw.Close();
        }
    }
}
